package com.arcgis.app.dao.api;

import com.arcgis.app.dao.PointInfoDao;
import com.lzy.okgo.callback.FileCallback;
import com.lzy.okgo.callback.StringCallback;

import java.io.File;

public interface MessageAPI {
    /**
     *
     * @param file
     * @param point
     * @param callback
     */
    public void savePointInfoToServer(File file, PointInfoDao point, StringCallback callback);

    /**
     * 下载图片
     */
    public void getImgFromServer(String id, FileCallback fileCallback);

    /**
     *
     * @param dao
     * @param callback
     */
    public void deletePointFromServer(PointInfoDao info,StringCallback callback);


}
